<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>用车申请</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/css/styles.css">
</head>
<body style="background: transparent;">
    <div class="form-container">
        <h2>用车申请</h2>
        <form action="<%=request.getContextPath() %>/ddm/addServlet" method="post">
         <div class="form-group">
                <label>申请人</label>
                <input type="text" class="form-control" name="username" required>
            </div>
             <div class="form-group">
                <label>密码</label>
                <input type="password" class="form-control" name="password"required>
            </div>
            <div class="form-group">
                <label>开始时间</label>
                <input type="datetime-local" class="form-control" name="stime"required>
            </div>
            <div class="form-group">
                <label>结束时间</label>
                <input type="datetime-local" class="form-control" name="otime"required>
            </div>
            <div class="form-group">
                <label>用途说明</label>
                <textarea class="form-control" rows="4" placeholder="请详细描述用车用途..." name="shiyong" required></textarea>
            </div>
            <div class="form-group">
                <label>选择车辆</label>
                <select class="form-control" name="message"required>
                    <option value="">请选择车辆</option>
                    <option>京A12345 - 丰田凯美瑞（可用）</option>
                    <option>京B67890 - 本田雅阁（可用）</option>
                </select>
            </div>
            <div class="form-footer">
                <button type="submit" class="btn">提交申请</button>
            </div>
        </form>
    </div>
</body>
</html> 